gcc -w  -fno-omit-frame-pointer   -O0 -rdynamic -no-pie  -gdwarf-4  -o app.elf app.c
./app.elf
gcc -w -fno-omit-frame-pointer   -O0 -rdynamic -no-pie  -gdwarf-4  -shared -ldl -fPIC hookMemAlloc.c -o libHookMemAlloc.so
LD_PRELOAD=./libHookMemAlloc.so ./app.elf

#gdb ./app.elf
##set environment LD_PRELOAD=./libHookMemAlloc.so
##run

